package com.campusbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 学生技能关联表
 * </p>
 *
 * @author yezi
 * @since 2025-07-24
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@TableName("student_skills")
@Schema(name = "StudentSkills", description = "学生技能关联表")
public class StudentSkills implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "学生ID")
    private Long studentId;

    @Schema(description = "技能ID")
    private Long skillId;

    @Schema(description = "熟练程度：1-初级，2-中级，3-高级")
    private Byte proficiencyLevel;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
